package cn.example.period;

import org.springframework.beans.factory.InitializingBean;

public class DemoBean implements InitializingBean {

    public DemoBean() {
        System.out.println("Demo bean 构造办法...");
    }


    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("Demo bean InitializingBean afterPropertiesSet...");
    }
}
